package com.nuanshui.heatedloan.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ComponentScan.Filter;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.FilterType;
import org.springframework.context.annotation.ImportResource;
import org.springframework.stereotype.Controller;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;

//不要在com.nuanshui.heatedloan.controller包名下创建service,会重复实例化
//@Configuration
@EnableTransactionManagement
@ImportResource("classpath:META-INF/spring/applicationContext-config.xml")
@ComponentScan(basePackages= {"com.nuanshui"},
excludeFilters = {
	@Filter(type=FilterType.ANNOTATION, value=Controller.class),
		@Filter(type=FilterType.ANNOTATION, value=Configuration.class)
})
public class ApplicationConfig {
	
	
}